//
//  KLBaseDAO.h
//  KLCurrency
//
//  Created by apple on 2017/12/25.
//  Copyright © 2017年 bonc. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "FMDB.h"
#import "KLBaseModel.h"

@interface KLBaseDAO : NSObject

//增
+ (long long)insertModel:(KLBaseModel *)model withDataBase: (FMDatabase *)db;
//查
+ (KLBaseModel *)queryModelById:(long long)localId withDataBase:(FMDatabase *)db;
//删
+ (BOOL)deleteModelWithId:(long long)localId withDataBase: (FMDatabase *)db;


@end
